package com.zly.entity;

import java.io.Serializable;

public class User implements Serializable {

	/**
	 *	反序列化
	 */
	private static final long serialVersionUID = 1L;
	private Integer uid;	
	private String uname;
	private String upwd;
	private String upost;
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getUpwd() {
		return upwd;
	}
	public void setUpwd(String upwd) {
		this.upwd = upwd;
	}
	public String getUpost() {
		return upost;
	}
	public void setUpost(String upost) {
		this.upost = upost;
	}
	@Override
	public String toString() {
		return "User [uid=" + uid + ", uname=" + uname + ", upwd=" + upwd + ", upost=" + upost + "]";
	}
	public User(Integer uid, String uname, String upwd, String upost) {
		super();
		this.uid = uid;
		this.uname = uname;
		this.upwd = upwd;
		this.upost = upost;
	}
	public User() {
		super();
	}
}
